Skip to content

make war executable#7

Open
press0 wants to merge 1 commit intoBaeldung:masterfrom
press0:master
Open

make war executable#7
press0 wants to merge 1 commit intoBaeldung:masterfrom
press0:master

Conversation

@press0
Copy link

@press0 press0 commented Nov 25, 2018

According to these fine spring boot docker articles:

the war file in the spring-boot-app module should be executable but it is not:

$ java -Dspring.profiles.active=default -jar target/spring-boot-app-0.0.1-SNAPSHOT.war
no main manifest attribute, in target/spring-boot-app-0.0.1-SNAPSHOT.war

According to these fine spring boot docker articles:

 - https://stackify.com/guide-docker-java/
 - https://stackify.com/spring-boot-level-up/

the war should be executable:

> java -Dspring.profiles.active=default -jar target/spring*.war
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant